Remove "unknown" status and add "failed" and "unreachable" statuses#2630
Remove "unknown" status and add "failed" and "unreachable" statuses#2630martinsander00 merged 1 commit intomainfrom
Conversation
|
I believe there is no way to know if a link is unreachable due to a firewall issue specifically. However, what I did is infer this by checking whether the TCP connection was ever established before the timeout. The BGP plugin tracks two flags: |
85d7113 to
7c02d22
Compare
aad9a4c to
f3f1fc8
Compare
f3f1fc8 to
0602a4b
Compare
Resolves: #2622 Changed status name to short version
0602a4b to
715cfe9
Compare
Jared-dz
left a comment
There was a problem hiding this comment.
This is an improvement to the current state. I am leaving comment without approval to allow time for second reviewer prior to merge.
…2630) Resolves: #2622 ## Summary of Changes * Removed unknown status * Renamed status labels to be more descriptive: * pending → Pending BGP Session * initializing → Initializing BGP Session * down → BGP Session Down * up → BGP Session Up * Added BGP Session Failed (TCP connected but BGP handshake timed out after 5 seconds) * Added Network Unreachable (TCP connection failed, likely firewall issue) ## Testing Verification * Fixed existing tests * Added new tests
…2630) Resolves: #2622 ## Summary of Changes * Removed unknown status * Renamed status labels to be more descriptive: * pending → Pending BGP Session * initializing → Initializing BGP Session * down → BGP Session Down * up → BGP Session Up * Added BGP Session Failed (TCP connected but BGP handshake timed out after 5 seconds) * Added Network Unreachable (TCP connection failed, likely firewall issue) ## Testing Verification * Fixed existing tests * Added new tests
…2630) Resolves: #2622 ## Summary of Changes * Removed unknown status * Renamed status labels to be more descriptive: * pending → Pending BGP Session * initializing → Initializing BGP Session * down → BGP Session Down * up → BGP Session Up * Added BGP Session Failed (TCP connected but BGP handshake timed out after 5 seconds) * Added Network Unreachable (TCP connection failed, likely firewall issue) ## Testing Verification * Fixed existing tests * Added new tests
…2630) Resolves: #2622 ## Summary of Changes * Removed unknown status * Renamed status labels to be more descriptive: * pending → Pending BGP Session * initializing → Initializing BGP Session * down → BGP Session Down * up → BGP Session Up * Added BGP Session Failed (TCP connected but BGP handshake timed out after 5 seconds) * Added Network Unreachable (TCP connection failed, likely firewall issue) ## Testing Verification * Fixed existing tests * Added new tests
Resolves: #2622
Summary of Changes
Testing Verification